#pragma once
#include "CDependencyObject.h"
#include "XcpGradientStop.h"

class CGradientStop :
	public CDependencyObject
{
private: 
	CGradientStop(CCoreServices * pCore);
public: 
	static HRESULT Create(CDependencyObject * * ppObject, CREATEPARAMETERS * pCreate);
	virtual XUINT32 GetTypeIndex() const;
	virtual HRESULT SetValue(CDependencyProperty * pdp, CValue * pValue);
	HRESULT Clone(CGradientStop * * ppClone);
	struct XcpGradientStop m_stop;

	XUINT32 m_rgb;
	XUINT32 m_uLastUpdate;

};